-- GENERATED SPELL FOR [Drakkari Plague Spreader] --


function spell0_27941(pUnit, Event) --@Plague Infected,n/a--
pUnit:FullCastSpellOnTarget(52230,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27941', 15000, 1)
end

function Sorts_27941(pUnit, Event)
local choix_sorts_27941 = math.random(0, 0)
if choix_sorts_27941 == 0 then
pUnit:RegisterEvent('spell0_27941', 1, 1)
end
end

function mob27941_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27941', math.random(1500, 3000), 1)
end

function mob27941_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27941_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27941_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27941, 1, 'mob27941_Action')
RegisterUnitEvent(27941, 2, 'mob27941_Leave')
RegisterUnitEvent(27941, 3, 'mob27941_Kill')
RegisterUnitEvent(27941, 4, 'mob27941_Die')
